<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/14 014
 * Time: 14:38
 */

namespace App\Command;


class GarageDoor
{
    public $name;

    public function __construct($name = null)
    {
        $this->name = $name;
    }

    public function up()
    {
        echo ($this->name . "Garage door is up<br />");
    }

    public function down()
    {
        echo ($this->name . "Garage door is down<br />");
    }
}